TOPDIR:= $(shell /bin/pwd | sed -e 's:\(.*/.*/src\).*:\1:g')

TEMPLATE = app
USE_DEV = n
USE_QT	= y
USE_DB  = n
include ../../../Makefile.init

TARGET  = MainWidget
#POFILES += xxx.po

HEADERS  = infomatconfigdefine.h

OBJS     = main.o
OBJS	+= sm700.o
OBJS    += xdatabootconf.o
OBJS    += xdataudpdconf.o
OBJS    += xdataqueueconf.o
OBJS    += xqueuewidget.o
OBJS    += xinfomatconfigmanager.o
OBJS    += xinfomatheadparser.o
OBJS    += xinfomattypeparserfactory.o
OBJS    += xinfomattypeparserbase.o
OBJS    += xinfomatiptypeparser.o
OBJS    += xinfomatmactypeparser.o
OBJS    += xinfomatlayouttypeparser.o
OBJS    += xinfomatversiontypeparser.o
OBJS    += xinfomatdeletefiletypeparser.o
OBJS    += xinfomatvolumetypeparser.o
OBJS    += xinfomattimeoutparser.o
OBJS    += xinfomatscreenmodeparser.o
OBJS    += xinfomatlayoutmanager.o
OBJS    += xhtmlplayer.o
OBJS    += xmovieplayer.o
OBJS    += xlayout1.o
OBJS    += xfiforeadthread.o

MOCOBJS	   += moc_sm700.o
MOCOBJS    += moc_xinfomatconfigmanager.o
MOCOBJS    += moc_xqueuewidget.o
MOCOBJS    += moc_xinfomatlayoutmanager.o
MOCOBJS    += moc_xhtmlplayer.o
MOCOBJS    += moc_xmovieplayer.o
MOCOBJS    += moc_xlayout1.o
MOCOBJS    += moc_xfiforeadthread.o

#FORMS   += sm700_main.ui
#EXTRA_LIBS  += -lqtbase
EXTRA_LIBS  += -lxdisplaycontroller
#EXTRA_LIBS  += -lxinilayout
#EXTRA_LIBS  += -lxqtprogramutility
#EXTRA_LIBS  += -lxmisc #in qtbase, heefan
#EXTRA_LIBS  += -lxwidget
#EXTRA_LIBS  += -lxpainter
#EXTRA_LIBS  += -lxscheme #in qtbase, heefan
#EXTRA_LIBS  += -lxpixmapcache #qtbase
#EXTRA_LIBS  += -lxfeature
#EXTRA_LIBS  += -lxprogramutility
#EXTRA_LIBS  += -lxconfig
#EXTRA_LIBS  += -lxrepository
#EXTRA_LIBS  += -lxresourcemanager

include $(TOPDIR)/Rules.mk
